package com.hhx.test_library.mvp.model;

import android.content.Context;

import com.hhx.baselibrary.mvp.BaseModel;
import com.hhx.baselibrary.net.ObserverResponseListener;
import com.hhx.test_library.api.ApiManager;

import java.util.HashMap;

import io.reactivex.ObservableTransformer;

/**
 * Created by Administrator on 2019/2/22.
 */

public class AModel<T> extends BaseModel {

    public void login(Context context, HashMap<String, Object> map, boolean isDialog, boolean cancelable,
                      ObservableTransformer<T, T> transformer, ObserverResponseListener responseListener) {
        subscribeLoading(context, ApiManager.getInstance().getTestService().login(map), responseListener, transformer, isDialog, cancelable);
    }


}
